package cn.edu.cxcyzx.entity;

import java.io.Serializable;
import java.sql.Timestamp;

public class MyFile implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 4943238149490500318L;
	private int id;
	private String fileId;
	private String fileName;
	private String fileURL;
	private String uploadPeopleId;
	private Timestamp uploadTime;
	private int fileType;//文件类别：1-日报，2-周报，3-月报，4-项目申报书，5-需求分析报告，6-项目报告，7-任务说明书，8-校企合作协议书
	public MyFile(){}
	
	public MyFile(String fileId, String fileName, String fileURL,
			String uploadPeopleId, int fileType) {
		super();
		this.fileId = fileId;
		this.fileName = fileName;
		this.fileURL = fileURL;
		this.uploadPeopleId = uploadPeopleId;
		this.fileType = fileType;
	}

	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getFileId() {
		return fileId;
	}
	public void setFileId(String fileId) {
		this.fileId = fileId;
	}
	public String getFileName() {
		return fileName;
	}
	public void setFileName(String fileName) {
		this.fileName = fileName;
	}
	public String getFileURL() {
		return fileURL;
	}
	public void setFileURL(String fileURL) {
		this.fileURL = fileURL;
	}
	public String getUploadPeopleId() {
		return uploadPeopleId;
	}
	public void setUploadPeopleId(String uploadPeopleId) {
		this.uploadPeopleId = uploadPeopleId;
	}
	public Timestamp getUploadTime() {
		return uploadTime;
	}
	public void setUploadTime(Timestamp uploadTime) {
		this.uploadTime = uploadTime;
	}
	public int getFileType() {
		return fileType;
	}
	public void setFileType(int fileType) {
		this.fileType = fileType;
	}

	@Override
	public String toString() {
		return "MyFile [id=" + id + ", fileId=" + fileId + ", fileName="
				+ fileName + ", fileURL=" + fileURL + ", uploadPeopleId="
				+ uploadPeopleId + ", uploadTime=" + uploadTime + ", fileType="
				+ fileType + "]";
	}
	
	
	
}
